﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AppConfigVerifier
{
	class TokenComparer : IEqualityComparer<TypeToken>
	{
		#region IEqualityComparer<TypeToken> Members

		public bool Equals(TypeToken x, TypeToken y)
		{
			return x.Location.Equals(y.Location);
		}

		public int GetHashCode(TypeToken obj)
		{
			return obj.Location.GetHashCode();
		}

		#endregion
	}
}
